.hero-gradient {
            background: linear-gradient(135deg, #3b82f6 0%, #1e40af 100%);
        }
        .feature-card {
            transition: all 0.3s ease;
        }
        .feature-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
        }
        .nav-link {
            position: relative;
        }
        .nav-link::after {
            content: '';
            position: absolute;
            bottom: -2px;
            left: 0;
            width: 0;
            height: 2px;
            background-color: #3b82f6;
            transition: width 0.3s ease;
        }
        .nav-link:hover::after {
            width: 100%;
        }
        .heading-decoration {
            position: relative;
            display: inline-block;
        }
        .heading-decoration::after {
            content: '';
            position: absolute;
            bottom: -10px;
            left: 50%;
            transform: translateX(-50%);
            width: 60px;
            height: 4px;
            background: #3b82f6;
            border-radius: 2px;
        }
        /* Responsive tweaks */
        @media (max-width: 1265px) {
            .feature-card {
                margin-bottom: 1.5rem;
            }
            .testimonial-card {
                min-width: 100% !important;
                max-width: 100% !important;
            }
            .container {
                padding-left: 1rem !important;
                padding-right: 1rem !important;
            }
            /* Hide auth button in header on mobile */
            .auth-trigger.desktop-only {
                display: none !important;
            }
            /* Hide auth info list on mobile */
            .auth-info-list {
                display: none !important;
            }
            /* Auth modal mobile tweaks */
            #authModal .p-8 {
                padding: 0.75rem !important;
            }
            #authModal .text-2xl {
                font-size: 1.05rem !important;
            }
            #authModal .text-lg {
                font-size: 0.95rem !important;
            }
            #authModal .font-bold {
                font-size: 0.98rem !important;
            }
            #authModal .rounded-xl {
                border-radius: 0.5rem !important;
            }
            #authModal .max-w-4xl {
                max-width: 92vw !important;
            }
            #authModal .md\:w-1\/3, #authModal .md\:w-2\/3 {
                width: 100% !important;
            }
            #authModal .md\:w-2\/3 {
                width: 100% !important;
                padding-right: 1rem !important;
                box-sizing: border-box;
            }
            #authModal .p-8.md\:w-2\/3 {
                margin-right: 10rem !important;
            }
            #authModal .flex-col.md\:flex-row {
                flex-direction: column !important;
            }
            #authModal .space-y-4 > * {
                margin-bottom: 0.35rem !important;
            }
            #authModal input, #authModal select, #authModal textarea {
                padding: 0.35rem 0.5rem !important;
                font-size: 0.85rem !important;
                min-height: 1.8rem !important;
            }
            #authModal button, #authModal .w-full {
                font-size: 0.95rem !important;
            }
            #authModal .border-b-2 {
                border-width: 1px !important;
            }
            #authModal .mt-20 {
                margin-top: 8rem !important;
            }
            /* Notification bell next to menu bar on mobile */
            .notif-bell-mobile {
                display: inline-flex !important;
                align-items: center;
                margin-right: 0.5rem;
            }
            .notif-bell-desktop {
                display: none !important;
            }
            #notifDropdown {
                width: 95vw !important;
                max-width: 75vw !important;
                margin-top: 30px !important;
            }
        }   
        /* Dark mode styles */
        body.dark-mode .bg-white { background: #23232a !important; color: #e5e7eb !important; }
        body.dark-mode .main-content, body-dark-mode .sidebar, body-dark-mode .modal-content {
            background: #23232a !important; color: #e5e7eb !important;
        }
        body.dark-mode .hero-gradient {
            background: #18181b !important;
            color: #e5e7eb !important;
        }
        body.dark-mode .QRcode {
            background: #18181b !important;
            color: #e5e7eb !important;
        }

        body.dark-mode .text-gray-700, body-dark-mode .text-gray-600, body-dark-mode .text-gray-800 {
            color: #d1d5db !important;
        }
        body.dark-mode .border, body-dark-mode .border-gray-200, body-dark-mode .border-blue-200 {
            border-color: #333646 !important;
        }
        body.dark-mode .shadow-lg, body-dark-mode .shadow-sm, body-dark-mode .shadow-xl {
            box-shadow: none !important;
        }
        body.dark-mode .bg-gradient-to-br, body-dark-mode .bg-blue-50, body-dark-mode .from-blue-50, body-dark-mode .to-green-50, body-dark-mode .from-green-50, body-dark-mode .to-blue-50 {
            background: #23232a !important;
        }
        body.dark-mode .btn, body-dark-mode .form-control, body-dark-mode input, body-dark-mode select, body-dark-mode textarea {
            background: #23232a !important;
            color: #e5e7eb !important;
            border-color: #333646 !important;
        }
        body.dark-mode .modal-content { background: #23232a !important; color: #e5e7eb !important; }
        body.dark-mode .alert { background: #23232a !important; color: #e5e7eb !important; border-color: #333646 !important; }
        body.dark-mode .notification { background: #23232a !important; color: #e5e7eb !important; border-color: #333646 !important; }
        body.dark-mode .bg-primary, body-dark-mode .bg-success, body-dark-mode .bg-info, body-dark-mode .bg-warning {
            background: #1e293b !important;
            color: #e5e7eb !important;
        }
        body.dark-mode .text-primary, body-dark-mode .text-success, body-dark-mode .text-info, body-dark-mode .text-warning {
            color: #60a5fa !important;
        }
        body.dark-mode .btn-close {
            filter: invert(1);
        }
        .darkmode-btn {
            background: #f3f4f6;
            color: #fbbf24;
            border: none;
            border-radius: 9999px;
            width: 2.5rem;
            height: 2.5rem;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.3em;
            cursor: pointer;
            transition: background 0.2s, color 0.2s;
            margin-left: 0.5rem;
            box-shadow: 0 2px 8px rgba(0,0,0,0.08);
        }
        .darkmode-btn:hover {
            background: #e5e7eb;
            color: #f59e42;
        }
        body.dark-mode .darkmode-btn {
            background: #23232a;
            color: #fbbf24;
        }
        @media (max-width: 768px) {
            .darkmode-btn {
                width: 2.25rem;
                height: 2.25rem;
                font-size: 1.1em;
                margin-left: 0.25rem;
            }
        }
        body.dark-mode #notifDropdown {
            background: #23232a !important;
            color: #e5e7eb !important;
            border-color: #333646 !important;
        }
        body.dark-mode #notifDropdown .border-b {
            border-color: #333646 !important;
        }
        body.dark-mode #notifDropdown .noti {
            background: #23232a !important;
            color: #e5e7eb !important;
        }
        body.dark-mode #notifDropdown .divide-y {
            border-color: #333646 !important;
        }
        body.dark-mode #notifDropdown .text-gray-700,
        body.dark-mode #notifDropdown .text-gray-500 {
            color: #d1d5db !important;
        }
        body.dark-mode #notifDropdown .text-gray-400 {
            color: #a1a1aa !important;
        }
        body.dark-mode #notifPulseDot {
            border-color: #18181b !important;
        }
        body.dark-mode #notifBellBtn .fa-bell {
            color: #e5e7eb !important;
        }
        body.dark-mode #notifBellBtn .fa-bell:hover {
            color: #fbbf24 !important;
        }
        body.dark-mode #notifDropdown .noti b[style*="color:#222"] {
            color: #fff !important;
        }
        /* Payment Information section dark mode fixes */
        body.dark-mode #payment-info,
        body.dark-mode #payment-info .bg-white,
        body.dark-mode #payment-info .rounded-2xl,
        body.dark-mode #payment-info .shadow-xl,
        body.dark-mode #payment-info .border,
        body.dark-mode #payment-info .text-gray-700,
        body.dark-mode #payment-info .text-gray-800,
        body.dark-mode #payment-info .text-blue-700,
        body.dark-mode #payment-info .bg-blue-100,
        body.dark-mode #payment-info .font-semibold,
        body.dark-mode #payment-info .text-lg,
        body.dark-mode #payment-info .text-center {
            background: #18181b !important;
            color: #e5e7eb !important;
            border-color: #333646 !important;
        }

        body.dark-mode #payment-info .text-blue-700,
        body.dark-mode #payment-info .text-blue-600 {
            color: #60a5fa !important;
        }

        body.dark-mode #payment-info .bg-blue-100 {
            background: #18181b !important;
        }

        body.dark-mode #payment-info .text-gray-100,
        body.dark-mode #payment-info .font-semibold {
            color: #e5e7eb !important;
        }

        body.dark-mode #payment-info .text-gray-300 {
            color: #a1a1aa !important;
        }

        body.dark-mode #payment-info .text-blue-300 {
            color: #60a5fa !important;
        }

        body.dark-mode #payment-info .border-blue-100,
        body.dark-mode #payment-info .border-blue-200 {
            border-color: #333646 !important;
        }

                body.dark-mode {
            background: #18181b !important;
            color: #e5e7eb !important;
            
        }
        body.dark-mode .text-gray-600{
            color: #e5e7eb !important;
        }
        body.dark-mode .arrow{
            color: #000000 !important;
        }
        body.dark-mode .noti{
            color: #e5e7eb !important;
            background-color: rgba(146, 144, 144, 0.301) !important;
        }
        body.dark-mode .border{
           border:3px solid rgb(255, 255, 255);
           color: #000000 !important;
        }
        body.dark-mode .QRcode {
            background: #18181b !important;
            color: #e5e7eb !important;
        }
        body.dark-mode .bg-white { background: #23232a !important; color: #e5e7eb !important; }
        body.dark-mode .main-content, body-dark-mode .sidebar, body-dark-mode .modal-content {
            background: #23232a !important; color: #e5e7eb !important;
        }
        body.dark-mode .text-gray-700, body-dark-mode .text-gray-600, body-dark-mode .text-gray-800 {
            color: #d1d5db !important;
        }
        body.dark-mode .border, body-dark-mode .border-gray-200, body-dark-mode .border-blue-200 {
            border-color: #333646 !important;
        }
        body.dark-mode .shadow-lg, body-dark-mode .shadow-sm, body-dark-mode .shadow-xl {
            box-shadow: none !important;
        }
        body.dark-mode .bg-gradient-to-br, body-dark-mode .bg-blue-50, body-dark-mode .from-blue-50, body-dark-mode .to-green-50, body-dark-mode .from-green-50, body-dark-mode .to-blue-50 {
            background: #23232a !important;
        }
        body.dark-mode .btn, body-dark-mode .form-control, body-dark-mode input, body-dark-mode select, body-dark-mode textarea {
            background: #23232a !important;
            color: #e5e7eb !important;
            border-color: #333646 !important;
        }
        body.dark-mode .modal-content { background: #23232a !important; color: #e5e7eb !important; }
        body.dark-mode .alert { background: #23232a !important; color: #e5e7eb !important; border-color: #333646 !important; }
        body.dark-mode .notification { background: #23232a !important; color: #e5e7eb !important; border-color: #333646 !important; }
        body.dark-mode .bg-primary, body-dark-mode .bg-success, body-dark-mode .bg-info, body-dark-mode .bg-warning {
            background: #1e293b !important;
            color: #e5e7eb !important;
        }
        body.dark-mode .text-primary, body-dark-mode .text-success, body-dark-mode .text-info, body-dark-mode .text-warning {
            color: #60a5fa !important;
        }
        body.dark-mode .btn-close {
            filter: invert(1);
        }
        body.dark-mode .support-form {
            background: #23232a !important;
            color: #e5e7eb !important;
        }
    /* Dark mode adjustment for blobs */
    body.dark-mode .preloader-blob {
      opacity: 0.28;
      filter: blur(64px) brightness(0.8);
    }

    /* --- Extra Preloader Design --- */
    .preloader-gradient {
      position: absolute;
      inset: 0;
      width: 100vw;
      height: 100vh;
      background: linear-gradient(120deg, #3b82f6 0%, #38bdf8 50%, #6366f1 100%);
      opacity: 0.08;
      z-index: 1;
      animation: preloader-gradient-move 8s linear infinite alternate;
      pointer-events: none;
    }
    @keyframes preloader-gradient-move {
      0% { background-position: 0% 50%; }
      100% { background-position: 100% 50%; }
    }

    /* Spinning ring */
    .preloader-ring {
      width: 54px;
      height: 54px;
      display: flex;
      align-items: center;
      justify-content: center;
      margin-bottom: 0.5rem;
      position: relative;
      z-index: 2;
    }
    .preloader-ring-inner {
      width: 44px;
      height: 44px;
      border: 4px solid #3b82f6;
      border-top: 4px solid #fff;
      border-radius: 50%;
      animation: preloader-spin 1.2s linear infinite;
      box-shadow: 0 2px 12px 0 rgba(59,130,246,0.13);
      background: transparent;
    }
    @keyframes preloader-spin {
      0% { transform: rotate(0deg);}
      100% { transform: rotate(360deg);}
    }

    /* Sparkles */
    .preloader-sparkle {
      position: absolute;
      width: 18px;
      height: 18px;
      background: radial-gradient(circle, #fff 60%, #3b82f6 100%);
      opacity: 0.7;
      border-radius: 50%;
      pointer-events: none;
      z-index: 2;
      filter: blur(1px) brightness(1.2);
      animation: sparkle-float 2.5s infinite alternate;
    }
    .sparkle1 { top: 18%; left: 55%; animation-delay: 0s; }
    .sparkle2 { top: 65%; left: 30%; animation-delay: 0.7s; }
    .sparkle3 { top: 40%; left: 80%; animation-delay: 1.2s; }
    .sparkle4 { top: 75%; left: 70%; animation-delay: 1.7s; }
    @keyframes sparkle-float {
      0% { opacity: 0.7; transform: scale(1) translateY(0);}
      50% { opacity: 1; transform: scale(1.2) translateY(-10px);}
      100% { opacity: 0.6; transform: scale(0.9) translateY(5px);}
    }

    /* Dark mode styles for preloader */
    body.dark-mode .preloader-gradient {
      background: linear-gradient(120deg, #4f46e5 0%, #3b82f6 50%, #9333ea 100%);
      opacity: 0.1;
    }
    body.dark-mode .preloader-ring-inner {
      border-color: #6366f1;
      border-top-color: #fff;
    }
    body.dark-mode .preloader-sparkle {
      background: radial-gradient(circle, #fff 60%, #6366f1 100%);
    }

        /* AI Chat Styles */
      .chat-container {
        max-height: calc(100vh - 200px);
        overflow-y: auto;
      }
      .user-message {
        background-color: #3b82f6;
        color: white;
        border-radius: 18px 18px 4px 18px;
      }
      .ai-message {
        background-color: #e0e7ff;
        color: #1e40af;
        border-radius: 18px 18px 18px 4px;
      }
      .typing-indicator span {
        display: inline-block;
        width: 8px;
        height: 8px;
        background-color: #9ca3af;
        border-radius: 50%;
        margin: 0 2px;
        animation: bounce 1.4s infinite ease-in-out;
      }
      .typing-indicator span:nth-child(2) {
        animation-delay: 0.2s;
      }
      .typing-indicator span:nth-child(3) {
        animation-delay: 0.4s;
      }
      @keyframes bounce {
        0%,
        60%,
        100% {
          transform: translateY(0);
        }
        30% {
          transform: translateY(-5px);
        }
      }
      .ai-assistant-float-btn {
        position: fixed;
        bottom: 2rem;
        right: 2rem;
        z-index: 50;
        background: #2563eb;
        color: #fff;
        border-radius: 50%;
        width: 64px;
        height: 64px;
        box-shadow: 0 4px 24px rgba(59, 130, 246, 0.18);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 2rem;
        cursor: pointer;
        border: 3px solid #fff;
        transition: background 0.2s, transform 0.2s;
      }
      .ai-assistant-float-btn:hover {
        background: #1d4ed8;
        transform: scale(1.07);
      }
      .ai-assistant-chatbox {
        position: fixed;
        bottom: 6.5rem;
        right: 2rem;
        z-index: 100;
        width: 370px;
        max-width: 95vw;
        background: #fff;
        border-radius: 1.5rem;
        box-shadow: 0 8px 32px rgba(59, 130, 246, 0.18);
        border: 2px solid #2563eb;
        display: none;
        flex-direction: column;
        overflow: hidden;
        animation: fadeInUp 0.3s;
      }
      @keyframes fadeInUp {
        from {
          opacity: 0;
          transform: translateY(40px);
        }
        to {
          opacity: 1;
          transform: translateY(0);
        }
      }
      .ai-assistant-header {
        background: linear-gradient(90deg, #2563eb 70%, #6366f1 100%);
        color: #fff;
        padding: 1rem;
        display: flex;
        align-items: center;
        justify-content: space-between;
      }
      .ai-assistant-header .avatar {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        margin-right: 0.75rem;
        border: 2px solid #fff;
        background: #fff;
      }
      .ai-assistant-close {
        background: none;
        border: none;
        color: #fff;
        font-size: 1.3rem;
        cursor: pointer;
        margin-left: 0.5rem;
        opacity: 0.8;
        transition: opacity 0.2s;
      }
      .ai-assistant-close:hover {
        opacity: 1;
      }
      .ai-assistant-messages {
        flex: 1;
        padding: 1rem;
        background: #f8fafc;
        overflow-y: auto;
        font-size: 1rem;
      }
      .ai-assistant-bubble {
        max-width: 80%;
        margin-bottom: 1rem;
        display: flex;
        align-items: flex-end;
      }
      .ai-assistant-bubble.user {
        margin-left: auto;
        justify-content: flex-end;
      }
      .ai-assistant-bubble.ai {
        margin-right: auto;
        justify-content: flex-start;
      }
      .ai-assistant-bubble .bubble-content {
        padding: 0.75rem 1.1rem;
        border-radius: 18px 18px 4px 18px;
        background: #3b82f6;
        color: #fff;
        font-size: 1rem;
        box-shadow: 0 2px 8px rgba(59, 130, 246, 0.09);
        word-break: break-word;
      }
      .ai-assistant-bubble.ai .bubble-content {
        background: #e0e7ff;
        color: #1e40af;
        border-radius: 18px 18px 18px 4px;
      }
      .ai-assistant-bubble .avatar {
        width: 32px;
        height: 32px;
        border-radius: 50%;
        margin: 0 0.5rem;
        border: 2px solid #fff;
        background: #fff;
      }
      .ai-assistant-input-area {
        border-top: 1px solid #e5e7eb;
        background: #f1f5f9;
        padding: 0.75rem;
        display: flex;
        align-items: center;
        gap: 0.5rem;
      }
      .ai-assistant-input {
        flex: 1;
        padding: 0.6rem 1rem;
        border-radius: 1rem;
        border: 1px solid #d1d5db;
        font-size: 1rem;
        outline: none;
        background: #405cf1;
        transition: border 0.2s;
      }
      .ai-assistant-input:focus {
        border: 2px solid #2563eb;
      }
      .ai-assistant-send-btn {
        background: #2563eb;
        color: #fff;
        border: none;
        border-radius: 1rem;
        padding: 0.6rem 1.2rem;
        font-size: 1.1rem;
        cursor: pointer;
        transition: background 0.2s;
      }
      .ai-assistant-send-btn:hover {
        background: #1d4ed8;
      }
      .ai-assistant-typing {
        display: flex;
        align-items: center;
        margin-bottom: 0.5rem;
        margin-left: 0.5rem;
      }
      .ai-assistant-typing .typing-indicator span {
        display: inline-block;
        width: 8px;
        height: 8px;
        background-color: #9ca3af;
        border-radius: 50%;
        margin: 0 2px;
        animation: bounce 1.4s infinite ease-in-out;
      }
      .ai-assistant-typing .typing-indicator span:nth-child(2) {
        animation-delay: 0.2s;
      }
      .ai-assistant-typing .typing-indicator span:nth-child(3) {
        animation-delay: 0.4s;
      }
      /* Responsive */
      @media (max-width: 500px) {
        .ai-assistant-chatbox {
          right: 0.5rem;
          left: 0.5rem;
          width: auto;
          max-width: 98vw;
        }
        .ai-assistant-float-btn {
          right: 1rem;
          bottom: 1rem;
        }
        .version-badge {
        display: none;
        }
      }


      /* ...existing code... */
#chatbot-float-btn {
    box-shadow: 0 4px 24px rgba(59,130,246,0.18);
    border:3px solid rgb(0, 0, 0);
}
.dark-mode .chatbot-float-btn1 {
    box-shadow: 0 4px 24px rgba(59,130,246,0.18);
    border:3px solid rgb(255, 255, 255) !important;
}
#chatbot-window {
overflow-y: auto;
}
#chatbot-messages {
    font-size: 1rem;
    background: #f8fafc;
}
.chatbot-bubble {
    display: flex;
    align-items: flex-end;
    margin-bottom: 15px;
    max-width: 90%;
}
.chatbot-bot-bubble {
    background: #e0e7ff;
    color: #1e40af;
    border-radius: 18px 18px 18px 6px;
    padding: 12px 18px;
    margin-right: auto;
    box-shadow: 0 2px 8px rgba(59,130,246,0.07);
    position: relative;
}
.chatbot-user-bubble {
    background: #3b82f6;
    color: #fff;
    border-radius: 18px 18px 6px 18px;
    padding: 12px 18px;
    margin-left: auto;
    box-shadow: 0 2px 8px rgba(59,130,246,0.09);
    position: relative;
}
.chatbot-bot-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    margin-right: 8px;
    border: 2px solid #fff;
    box-shadow: 0 1px 4px rgba(59,130,246,0.10);
    background: #fff;
}
.chatbot-user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    margin-left: 8px;
    background: #e0e7ff;
    display: none;
}
.chatbot-option-btn {
    background: #f1f5f9;
    color: #2563eb;
    border: 1px solid #dbeafe;
    border-radius: 12px;
    padding: 10px 14px;
    cursor: pointer;
    font-weight: 500;
    transition: background 0.2s, color 0.2s;
    text-align: left;
    font-size: 1rem;
    box-shadow: 0 1px 4px rgba(59,130,246,0.04);
}
.chatbot-option-btn:hover {
    background: #2563eb;
    color: #fff;
}
#chatbot-typing {
    min-height: 28px;
    margin-bottom: 0.5rem;
}
.chatbot-wave {
    display: flex;
    align-items: center;
    height: 18px;
    margin-left: 2px;
}
.chatbot-wave span {
    display: inline-block;
    width: 6px;
    height: 6px;
    margin: 0 1.5px;
    background: #3b82f6;
    border-radius: 50%;
    opacity: 0.7;
    animation: chatbot-wave-bounce 1s infinite;
}
.chatbot-wave span:nth-child(2) { animation-delay: 0.2s; }
.chatbot-wave span:nth-child(3) { animation-delay: 0.4s; }
@keyframes chatbot-wave-bounce {
    0%, 80%, 100% { transform: scale(0.8); opacity: 0.6; }
    40% { transform: scale(1.2); opacity: 1; }
}
@media (max-width: 600px) {
    #chatbot-window {
        right: 0.5rem;
        left: 0.5rem;
        width: auto;
        max-width: 98vw;
    }
}

.floating-greeting-bubble {
    border:3px solid rgb(0, 0, 0) !important;
}

.dark-mode .floating-greeting-bubble {
    border:3px solid rgb(4, 0, 243) !important;
}
.border-bot {
    border: 2px solid #0004ff !important;
    border-radius: 4% !important;
}
    #chatbot-float-btn,
    #aiAssistantFloatBtn {
        display: none !important;
    }
    .ai-assistant-messages {
    flex: 1;
    padding: 1rem;
    background: #f8fafc;
    overflow-y: auto;
    font-size: 1rem;
    max-height: 320px; /* Add this line to limit height */
    min-height: 120px; /* Optional: ensures some height even if empty */
}
    .version-badge {
        position: fixed;
        left: 20px;
        bottom: 20px;
        background-color: rgb(0, 4, 255);
        color: rgb(255, 255, 255);
        padding: 5px 10px;
        border-radius: 20px;
        font-size: 12px;
        font-weight: 600;
        z-index: 1000;
    }
